package com.cskaoyan.javase.oop3._2example.operation;

import com.cskaoyan.javase.oop3._2example.model.Goods;

/**
 * 商品接口，用于完成商品相关处理
 * @since 15:19
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public interface IGoods {
    Goods[] getAllGoods();

    boolean createGoods(Goods g);

    boolean deleteGoods(int id);
}
